import axios from '../AxiosConfig.js'

export const login = data => {
  return axios({
    method: 'post',
    url: '/api/login',
    params: data
  })
}

export const logout = () => {
  return axios({
    method: 'get',
    url: '/api/logout',
  })
}


